package com.xf.day03.traitTest

// 定义了父类
class Person13 {

  val name:String = "person"
  val age:Int = 18

  def sayHello(): Unit = {
    println("hello from: " + name)
  }

  def increase(): Unit = {
    println("person increase")
  }
}
